﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RapidSpider.Views
{
    public partial class WebBrowserView : Form
    {
        #region Properties
        public WebBrowser WebBrowser
        {
            get { return this._WebBrowser; }
        }
        #endregion

        #region Methods
        public WebBrowserView()
        {
            InitializeComponent();
        }

        #region Event Handlers
        private void _buttonClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void _WebBrowser_Navigating(object sender, WebBrowserNavigatingEventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
        }

        private void _WebBrowser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            this.Cursor = Cursors.Default;
        }
        #endregion
        #endregion
    }
}
